/*
* Copyright 2010 Pavel Kozhin 
*
* Licensed under the Apache License, Version 2.0 (the "License"); 
* you may not use this file except in compliance with the License. 
* You may obtain a copy of the License at 
* 
* http://www.apache.org/licenses/LICENSE-2.0
* 
* Unless required by applicable law or agreed to in writing, software 
* distributed  under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
* See the License for the specific language governing permissions and 
* limitations under the License.
*
* Author: Pavel Kozhin.
*/

package org.etherframework.core.events
{
	import flash.events.Event;
	
	public final class InteractionEvent extends Event
	{
		public static const EVENT:String = "etherInteractionEvent";
		
		public static const FEEDBACK:String = "etherInteractionFeedback";
		
		public static const MEDIATION:String = "etherInteractionMediation";
		
		public static const GET_PROXY:String = "etherInteractionGetProxy";
		
		public static const PROXY_ADDED:String = "etherInteractionProxyAdded";
		
		public static const PROXY_REMOVED:String = "etherInteractionProxyRemoved";
		
		public static const GET_DEPENDENCY:String = "etherInteractionGetDependency";
		
		public static const DEPENDENCY_ADDED:String = "etherInteractionDependencyAdded";
		
		public static const DEPENDENCY_REMOVED:String = "etherInteractionDependencyRemoved";
		
		public static const CONTROLLER_ADDED:String = "etherInteractionControllerAdded";
		
		public static const CONTROLLER_REMOVED:String = "etherInteractionControllerRemoved";
		
		public var owner:String;
		
		public var initiator:Object;
		
		public var participants:Array = [];
		
		public var data:*;
		
		public var result:*;
		
		public function InteractionEvent(type:String, bubbles:Boolean=false)
		{
			super(type, bubbles, true);
		}
	}
}